package com.waterdrop.wlsggk.mapper;


import com.waterdrop.wlsggk.pojo.DishSales;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;
import java.util.List;

@Component
public interface DishSalesMapper {

    /**
     * 新增菜品销售数据
     *
     * @return
     */

    public int insertWlsggkDishSales(DishSales dishSales);

    /**
     * 菜品销售数据列表查询
     *
     * @return
     */
    public List<DishSales> selectDishSalesList(DishSales dishSales, @Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);

    /**
     * 删除菜品销售数据信息
     *
     * @param ids 菜品销售数据id
     * @return
     */
    public int deleteWlsggkDishSalesByIds(Long[] ids);


}



